package com.microservices.yucloud.api.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.HashMap;

/**
 * @author zy
 * @date 2019-08-14 17:31
 **/
@Data
public class Email implements Serializable {
    private static final long serialVersionUID = 1L;
    private int id;
    private String email;
    private String subject;
    private String content;
    private String template;
    private HashMap<String, String> kvMap;
    private int status;


    public Email() {
        super();
    }

    public Email(String email, String subject, String content, String template,
                 HashMap<String, String> kvMap, int status) {
        super();
        this.email = email;
        this.subject = subject;
        this.content = content;
        this.template = template;
        this.kvMap = kvMap;
        this.status = status;
    }
}
